package com.dks.mapper;

import com.dks.models.publicCompoment.PublicThumbsUp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PublicThumbsUpMapper{

    Integer addthumbsUp(PublicThumbsUp publicThumbsUp);

    Integer removethumbsUp(PublicThumbsUp publicThumbsUp);

    //查询点赞状态
    PublicThumbsUp select(@Param("thumbsUpEntityType")String thumbsUpEntityType, @Param("thumbsUpEntityId")long thumbsUpEntityId, @Param("userId")long userId);

}
